#!/usr/bin/env python
# coding=utf-8
# CopyRight(c) 2019 Inspur Electronic Information Industry Co.,Ltd

"""
    secchecksuite/exportfactory.py
    测评工具套件导出类型工厂类
    :CopyRight(c) 2019 Inspur Electronic Information Industry Co.,Ltd
"""


class ExportType(object):
    """测评工具套件导出类型工厂类
     Attributes:
        None
    """

    def GetExportType(self):
        pass

    def SetExportType(self):
        pass


class JsonExport(ExportType):
    """测评工具套件导出类型为json
     Attributes:
        None
    """

    def GetExportType(self):
        return "json"

    def SetExportType(self):
        pass

    def export(self):
        pass


class XmlExport(ExportType):
    """测评工具套件导出类型为json
     Attributes:
        None
    """

    def GetExportType(self):
        return "xml"

    def SetExportType(self):
        pass

    def export(self):
        pass


class ExportTypeFactory(object):
    """测评工具套件导出类型工厂
     Attributes:
        None
    """

    def createExportType(self):
        pass


class XmlExportType(ExportTypeFactory):
    """测评工具套件导出xml类型
     Attributes:
        None
    """

    def createExportType(self):
        return XmlExport()


class JsonExportType(ExportTypeFactory):
    """测评工具套件导出json类型
     Attributes:
        None
    """

    def createExportType(self):
        return JsonExport()
